//
//  WMData.m
//  ljye-B
//
//  Created by seed on 2016/12/10.
//  Copyright © 2016年 seed. All rights reserved.
//

#import "WMData.h"


@implementation WMData

+(int)IntNuberFrom:(int)from to:(int)to{
    return (int)(from + (arc4random()%(to - from + 1)));
}
float randomNumber(float from,int to){
    
    float n =  (float)(1+arc4random()%9999)/10000;
    return (to - from)*n + from;
}

@end

